package backend.project.gym_management.service;

import backend.project.gym_management.pojo.dto.UserHealData;
import backend.project.gym_management.pojo.vo.*;
import backend.project.gym_management.pojo.entity.PayOrder;
import backend.project.gym_management.pojo.dto.UserSelectCourseParam;

import java.util.List;


public interface UserService {

    List<UserCourseListVO> listCourses(Long uid);

    UserCourseDetailVO getCourseDetail(Long cid);
    // service.backend.project.gym_management.UserService
    UserEnrollmentInfoVO selectCourse(UserSelectCourseParam param);
    /**
     * 根据用户ID查询健康数据
     */
    UserHealthDataVO getHealthDataByUid(Long uid);

    UserDetailsVO getUserDetails(Long uid);

    void updateHealthData(UserHealData healthData);

    Long insertOrder(PayOrder payOrder);

    List<PayOrder> selectOrder(Long uid);
}



